﻿namespace FFF.Test.Entity.Demo.View
{
    using System;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using Abp.AutoMapper;
    using Abp.Domain.Entities;
    using FFF.Test.Entity.Framework.View;

	/// <summary>
    /// 学生表视图
    /// </summary>
	[Table("View_Demo_Student2")]
    [Display(Name = "学生表视图", Description = "学生表视图")]
    [AutoMapTo(typeof(ViewDemoStudent2))]  
    public partial class ViewDemoStudent2 : BaseView<Guid>
    {
        /// <summary>
        /// 学生GUID
        /// </summary>
		[Display(Name = "学生GUID", Description = "学生GUID")]
        [Column("StudentGUID")]
        public override Guid Id { get; set; }
           
         /// <summary>
        /// 名称
        /// </summary>
		[Display(Name = "名称", Description = "名称")]
        [Column("StudentName", TypeName = "VARCHAR(128)")]
		[StringLength(128)]
        public string StudentName { get; set; }
           
         /// <summary>
        /// 年龄
        /// </summary>
		[Display(Name = "年龄", Description = "年龄")]
        [Column("StudentAge")]
         public int StudentAge { get; set; }
           
         /// <summary>
        /// 生日
        /// </summary>
		[Display(Name = "生日", Description = "生日")]
        [Column("StudentBirthday")]
         public DateTime? StudentBirthday { get; set; }
           
         /// <summary>
        /// 身高
        /// </summary>
		[Display(Name = "身高", Description = "身高")]
        [Column("StudentHeight")]
         public decimal StudentHeight { get; set; }
           
         /// <summary>
        /// 是否VIP
        /// </summary>
		[Display(Name = "是否VIP", Description = "是否VIP")]
        [Column("StudentIsVip")]
         public byte StudentIsVip { get; set; }
           
         /// <summary>
        /// 学生等级(1,学霸;2,普通;3,学渣)
        /// </summary>
		[Display(Name = "学生等级(1,学霸;2,普通;3,学渣)", Description = "学生等级(1,学霸;2,普通;3,学渣)")]
        [Column("StudentLevel")]
         public Demo.DemoStudentStudentLevelEnum StudentLevel { get; set; }
           
         /// <summary>
        /// 班级GUID
        /// </summary>
		[Display(Name = "班级GUID", Description = "班级GUID")]
        [Column("ClassGUID")]
         public Guid? ClassGUID { get; set; }
           
         /// <summary>
        /// 学生描述
        /// </summary>
		[Display(Name = "学生描述", Description = "学生描述")]
        [Column("StudentDesc", TypeName = "VARCHAR(9999)")]
		[StringLength(9999)]
        public string StudentDesc { get; set; }
           
         /// <summary>
        /// 学生爱好(篮球;足球;羽毛球;跑步)
        /// </summary>
		[Display(Name = "学生爱好(篮球;足球;羽毛球;跑步)", Description = "学生爱好(篮球;足球;羽毛球;跑步)")]
        [Column("StudentFavor", TypeName = "VARCHAR(1024)")]
		[StringLength(1024)]
        public string StudentFavor { get; set; }
           
         /// <summary>
        /// 学生头像(上传图片)
        /// </summary>
		[Display(Name = "学生头像(上传图片)", Description = "学生头像(上传图片)")]
        [Column("StudentStudentHeadUrl", TypeName = "VARCHAR(1024)")]
		[StringLength(1024)]
        public string StudentStudentHeadUrl { get; set; }
           
         /// <summary>
        /// 学生自传
        /// </summary>
		[Display(Name = "学生自传", Description = "学生自传")]
        [Column("StudentMeRemark", TypeName = "VARCHAR(16)")]
		[StringLength(16)]
        public string StudentMeRemark { get; set; }
           
         /// <summary>
        /// 学生个人资料(上传文件)
        /// </summary>
		[Display(Name = "学生个人资料(上传文件)", Description = "学生个人资料(上传文件)")]
        [Column("StudentFile", TypeName = "VARCHAR(1024)")]
		[StringLength(1024)]
        public string StudentFile { get; set; }
           
         /// <summary>
        /// 租户的GUID
        /// </summary>
		[Display(Name = "租户的GUID", Description = "租户的GUID")]
        [Column("TenantId")]
         public Guid? TenantId { get; set; }
           
         /// <summary>
        /// 是否删除
        /// </summary>
		[Display(Name = "是否删除", Description = "是否删除")]
        [Column("IsDeleted")]
         public byte IsDeleted { get; set; }
           
         /// <summary>
        /// 创建时间
        /// </summary>
		[Display(Name = "创建时间", Description = "创建时间")]
        [Column("CreateTime")]
         public DateTime CreateTime { get; set; }
           
         /// <summary>
        /// 创建人GUID
        /// </summary>
		[Display(Name = "创建人GUID", Description = "创建人GUID")]
        [Column("CreateGUID")]
         public Guid? CreateGUID { get; set; }
           
         /// <summary>
        /// 创建人名称
        /// </summary>
		[Display(Name = "创建人名称", Description = "创建人名称")]
        [Column("CreatedName", TypeName = "VARCHAR(256)")]
		[StringLength(256)]
        public string CreatedName { get; set; }
           
         /// <summary>
        /// 公司GUID
        /// </summary>
		[Display(Name = "公司GUID", Description = "公司GUID")]
        [Column("BuUnitGUID")]
         public Guid? BuUnitGUID { get; set; }
           
         /// <summary>
        /// 学生年级
        /// </summary>
		[Display(Name = "学生年级", Description = "学生年级")]
        [Column("StudentGarde", TypeName = "VARCHAR(512)")]
		[StringLength(512)]
        public string StudentGarde { get; set; }
           
         /// <summary>
        /// 学生性别
        /// </summary>
		[Display(Name = "学生性别", Description = "学生性别")]
        [Column("IsMan")]
         public byte? IsMan { get; set; }
           
    }
}
